package org.nicocube.airain.app.client;

import java.util.List;

import org.nicocube.airain.app.client.domain.GameCharacter;
import org.nicocube.airain.app.client.exception.GCCreateException;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("gcs")
public interface GCService extends RemoteService {
	List<GameCharacter> getList();
	GameCharacter create(GameCharacter gc) throws GCCreateException;
	boolean delete(GameCharacter gc);
}
